package com.tbit.uqbike.center.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: chen
 * @Description:
 * @Date: 创建于 9:19 2022/9/27
 */
@RestController
public class VersionController {

    private String version = "3.4.1";

    @RequestMapping("/version")
    public String getVersion() {

        return version;
    }

    /**
     * 心跳
     *
     * @return
     */
    @RequestMapping("/heartbeat")
    public Integer heartbeat() {

        return 1;
    }

}
